// 
import httpUtils from "@/core/utils/http.utils";
const urls = {
    'page': `/api/jx/introductionInfo/page`,//查看申请
    'getUrl': `/api/upms/ossFile/tpf/`,//查看老师列表
    'courseAllCheck': `/api/jx/jxCourse/courseAllCheck`,//获取列表
    'check': `/api/jx/jxCourse/check`,//查看老师列表
    'fileCheckList': `/api/jx/jxCourse/fileCheckList`,//内容审核页面
    'fileDetailPage': `/api/jx/courseSyllabusFile/page`,//内容审核详情
    'fileCheck': `/api/jx//jxCourse/fileCheck`,//内容审核
    'getDetailAndPassedCourses': `/api/jx/introductionInfo/getDetailAndPassedCourses`,//内容审核
};
// service methods
const operateApi = {
    ///课程难度
    getPage(params) {
        return httpUtils.get(urls.page, params);
    },
    getUrl(params) {
        return httpUtils.get(urls.getUrl + params);
    },
    viewUrl(params, type) {
        return httpUtils.viewUrl(urls.getUrl + params, type);
    },
    courseAllCheck(params) {
        return httpUtils.get(urls.courseAllCheck,params);
    },
    check(params) {
        return httpUtils.get(urls.check,params);
    },
    fileCheckList(params) {
        return httpUtils.get(urls.fileCheckList,params);
    },
    fileDetailPage(params) {
        return httpUtils.get(urls.fileDetailPage,params);
    },
    fileCheck(params) {
        return httpUtils.get(urls.fileCheck,params);
    },
    getDetailAndPassedCourses(params) {
        return httpUtils.get(urls.getDetailAndPassedCourses,params);
    },
}


export default operateApi;
